if (isDedicated) exitWith{};

waituntil {!(isnull player)};

////////////////////////////////////////////////////////////
// Respawn Handling
////////////////////////////////////////////////////////////

player switchmove "";
player setskill 0;
{player disableAI _x} foreach ["move","anim","target","autotarget"];
player setVariable ["BIS_noCoreConversations", true];

player addRating -(rating player);

if (isnil "show_mission_intro" || {show_mission_intro}) then {
	[] execVM "tmf\core\scripts\intro.sqf";
};

(findDisplay 46) displayAddEventHandler ["KeyDown", "_this call mso_core_fnc_keydownHandler"];
